﻿using System;

namespace enyo.db8
{
    /// <summary>
    /// Unlike find, this call supports the '?' operator, which can be used for full-text searching.
    /// This call has some limitations:
    /// <para>There must be an index for the field you are searching on.</para>
    /// <para>The search operation looks for words beginning with the search string</para>
    /// </summary>
    public class SearchParam : DbParam
    {
        /// <summary>
        /// Query for search.
        /// </summary>
        public Query Query;

        /// <summary>
        /// Notify if change flag. Default is false.
        /// </summary>
        public bool Watch;
    }
}
